package com.etoak.service.impl;

import com.etoak.entity.ApplySituation;
import com.etoak.mapper.ApplySituationMapper;
import com.etoak.service.IApplySituationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ApplySituationServiceImpl implements IApplySituationService {

    @Autowired
    ApplySituationMapper applySituationMapper;

    @Override
    public List<ApplySituation> getApplySituation(ApplySituation applySituation) {
        return applySituationMapper.getApplySituation(applySituation);
    }

    @Override
    public int add(ApplySituation applySituation) {
        return applySituationMapper.add(applySituation);
    }

    @Override
    public ApplySituation getApplySituationById(String applySituation) {
        return applySituationMapper.getApplySituationById(applySituation);
    }

}
